Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update astroid requirement from <3.1,>=2.4.2 to >=2.4.2,<3.3 #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 13, 2024

Updates the requirements on astroid to permit the latest version.

Changelog

Sourced from astroid's changelog.

What's New in astroid 3.2.0?

Release date: 2024-05-07

  • .pyi stub files are now preferred over .py files when resolving imports, (except for numpy).

    Closes pylint-dev/#9185

  • igetattr() returns the last same-named function in a class (instead of the first). This avoids false positives in pylint with @overload.

    Closes #1015 Refs pylint-dev/pylint#4696

  • Adds module_denylist to AstroidManager for modules to be skipped during AST generation. Modules in this list will cause an AstroidImportError to be raised when an AST for them is requested.

    Refs pylint-dev/pylint#9442

  • Make astroid.interpreter._import.util.is_namespace only consider modules using a loader set to NamespaceLoader or None as namespaces. This fixes a problem that six.moves brain was not effective if six.moves was already imported.

    Closes #1107

What's New in astroid 3.1.0?

Release date: 2024-02-23

  • Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(), allowing checkers to visit them.

    Refs pylint-dev/pylint#9193

  • Add __main__ as a possible inferred value for __name__ to improve control flow inference around if __name__ == "__main__": guards.

    Closes #2071

  • Following a deprecation period, the names arg to the Import constructor and the op arg to the BoolOp constructor are now required, and the doc args to the PartialFunction and Property constructors have been removed (call postinit(doc_node=...) instead.)

  • Following a deprecation announced in astroid 1.5.0, the alias AstroidBuildingException is removed in favor of AstroidBuildingError.

  • Include modname in AST warnings. Useful for invalid escape sequence warnings

... (truncated)

Commits
  • 7d4d805 Bump astroid to 3.2.0, update changelog
  • 4a1a788 [changelog] Remove placeholder patch release header
  • 8c48d5c [pre-commit.ci] pre-commit autoupdate (#2425)
  • a4a9fcc Bump actions/checkout from 4.1.4 to 4.1.5 (#2423)
  • 0984386 Prefer .pyi stubs (#2375)
  • 2ec0115 Fix mypy warnings and update typing
  • 2592505 Remove AstroidCacheSetupMixin
  • 3ce9af4 Improve performance by caching find_spec
  • 47c0b8f [sphinx] Fix path to source (#2422)
  • 4a8827d Adjust is_namespace() to check ModuleSpec.loader (#2410)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [astroid](https://github.com/pylint-dev/astroid) to permit the latest version.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@astroid-2.4.2...v3.2.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants